﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DispatchRuleQuery.aspx.cs" Inherits="WMS6.Web.Configuration.DispatchRuleQuery" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>DispatchRuleQuery</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
     <base target="_self" />  
    <script type="text/javascript">

        //初始化页面
        window.onload = function() {

            var actionID = window.dialogArguments;
            if (actionID != "" && actionID != null) {
                document.getElementById("hdnActionID").value = actionID;
                var array = actionID.split(',');
                initQueryPage(array[0], array[1]);
            }
            else {
                initQueryPage();
            }
        }
        
        //窗口大小改变时触发的事件
        window.onresize = function()
	    {
	        autoResizeQueryDiv("div_query");
	    }
    </script>
</head>
<body>
    <form id="F2210" runat="server">
    <div>
    
            <asp:ScriptManager ID="ScriptManager1" runat="server" />
            <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL"></div>
            </div>
            <div class="tabLabelCont tabCur">
                <asp:Label ID="lblDispatchRule" runat="server" Text="任务分派规则" CssClass="hover" 
                    meta:resourcekey="lblDispatchRule"></asp:Label>
            </div>
            <div style="float: left">
                <div class="tabR"></div>
            </div>
        </div>
        
        <div id="div_query">
            <table width="360" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblTaskRuleID" runat="server" Text="任务分派规则代码" 
                            meta:resourcekey="lblTaskRuleID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtTaskRuleID" runat="server" CssClass="textbox" 
                            meta:resourcekey="txtTaskRuleID"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlTaskRuleIDOper" runat="server" CssClass="selectbox" 
                            meta:resourcekey="ddlTaskRuleIDOper">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="Label" ID="lblDescr" runat="server" Text="描述" 
                            meta:resourcekey="lblDescr"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtDescr" runat="server" CssClass="textbox" 
                            meta:resourcekey="txtDescr"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlDescr" runat="server" CssClass="selectbox" 
                            meta:resourcekey="ddlDescr">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblIsActive" runat="server" Text="是否启用" 
                            meta:resourcekey="lblIsActive"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:DropDownList ID="ddlIsActive" runat="server" CssClass="mediumselectbox" 
                            meta:resourcekey="ddlIsActive">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlIsActiveOper" runat="server" CssClass="selectbox" 
                            Visible="False" meta:resourcekey="ddlIsActiveOper">
                        </asp:DropDownList>
                    </td>
                </tr>
            </table>
         </div>
        <div id="div_bottom">
            <table>
                <tr>
                    <td>
                        <asp:Button ID="btnSearch" runat="server" Text="<%$Resources:ButtonResource,btnSearch%>" Enabled="False" 
                            CssClass="button" onclick="btnSearch_Click" 
                              />
                    </td>
                    <td>
                        <asp:Button ID="btnNew" runat="server" Text="<%$Resources:ButtonResource,btnNew%>" Enabled="False" 
                            CssClass="button" 
                            OnClientClick="javascript:window.location.href='DispatchRule.aspx?from=query';return false;" 
                             />
                    </td>
                    <td>
                        <asp:Button ID="btnList" runat="server" Text="<%$Resources:ButtonResource,btnList%>" Enabled="False" 
                            CssClass="button" 
                            OnClientClick="javascript:window.location.href='DispatchRuleList.aspx?from=list';return false;" 
                             />
                    </td>
                    <td>
                        <asp:Button ID="btnExport" runat="server" Text="<%$Resources:ButtonResource,btnExport%>" Enabled="False" 
                            CssClass="button" 
                            OnClientClick="javascript:window.location.href='DispatchRuleList.aspx?from=query&export=y';return false;" 
                              />
                    </td>
                </tr>
            </table>
        </div>
        <input id="hdnActionID" type="hidden" runat="server" />
    </div>
    </form>
</body>
</html>
